﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Luna.Framework;
using VulnDBExplorer.Framework.Impl;
using VulnDBExplorer.Services;

namespace VulnDB.Action.DataCollectors {
	
	public class DataCollectorAction: VisualActionable {

		private IApplication app;
		public  IApplication Application {
			get { return app == null && Context != null ? (app = Context.getService<IApplication>()) : app; }
		}

		private IConsole console;
		public IConsole Console {
			get { return console == null && Context != null ? (console = Context.getService<IConsole>()) : console; }
		}
	}
}
